<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--
   js

     new Swiper('.你的类名',{

     })
-->
<div class="你的类名 swiper ">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            内容1

        </div>
        <div class="swiper-slide">
            内容2
        </div>
        <div class="swiper-slide">
            内容3
        </div>
    </div>
</div>
</body>
</html>